package com.zbkj.admin.boot.redisson.command;

import org.redisson.api.RedissonClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Redisson 延迟队列配置
 *
 * @author L.cm
 */
@Configuration
//@ConditionalOnBean(RedissonClient.class)
public class RedissonCommandConfiguration {

	@Bean
	public Redis redis(RedissonClient client) {
		return new Redis(client);
	}

}
